package com.example.personnel_oa.service;
//service 接口数据传达给controller
import com.example.comment_oa.pojos.Contract;
import com.example.comment_oa.pojos.SysEmployee;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;

/**
* @author HUAWEI
* @description 针对表【contract】的数据库操作Service
* @createDate 2022-10-20 17:03:17
*/
@Service
@Repository
@Transactional
public interface ContractService {
    //查询出全部合同
    public List<Contract> Methods_con();
    //员工入职后添加到合同表中，未签署试用合同
    int addContract(Contract contract);
    //根据id查询合同数据
    Contract conId(int conId);
    //签试用合同
    int shiyong(Contract contract);
    //新增正式合同
    int zhengshi(Contract contract);
    //新增解除合同
    int jiechu(Contract contract);



}
